package com.huawei.java.model;

import java.util.HashMap;
import java.util.Map;

public class TimestampResult implements Comparable<TimestampResult>{
    private String timestamp;

    private Map<String, Map<String, Integer>> allocationMaps = new HashMap<>();

    public TimestampResult(String timestamp, Map<String, Map<String, Integer>> allocationMaps) {
        this.timestamp = timestamp;
        this.allocationMaps = allocationMaps;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public Map<String, Map<String, Integer>> getAllocationMaps() {
        return allocationMaps;
    }

    public void setAllocationMaps(Map<String, Map<String, Integer>> allocationMaps) {
        this.allocationMaps = allocationMaps;
    }

    @Override
    public int compareTo(TimestampResult o) {
        return this.timestamp.compareTo(o.timestamp);
    }
}
